package com.example.kotlinlearndemo.kotlin.interfaceexample

interface Ia {
    fun a(p: Int): Boolean
}

interface Ib {
    fun a(p: Int): Boolean
}

class InterfaceExample1 {

    fun booS(t: Int = 1, a: (p: Int) -> Boolean) {
        a(t)
    }

    fun booS2(a: (p: Int) -> Boolean, t: Int) {
        a(t)
    }

}